local shelie = fk.CreateSkill {

  name = "joy__shelie",

  tags = { Skill.Compulsory, },

}



shelie:addEffect(fk.EventPhaseStart, {
  name = "joy__shelie",
  anim_type = "drawcard",
  frequency = Skill.Compulsory,
  events = {fk.EventPhaseStart},
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(shelie.name) and player.phase == Player.Draw
  end,
  on_use = function(self, event, target, player, data)
     return Fk.skills["shelie"]:use(event, target, player, data)
  end,
})

return shelie